{extend name="layout"}
{block name="content"}
<div class="box-header with-border">
    <h3 class="box-title">用户列表</h3>
</div>
<a type="button" class="btn " href="/admin/users/create">增加用户</a>
<!-- /.box-header -->
<div class="box-body">
    <table class="table table-bordered">
        <tbody>
        <tr>
            <th style="width: 10px">#</th>
            <th>用户名称</th>
            <th>操作</th>
        </tr>
        {volist name='admin_info' id='_info'}
        <tr>
            <td>{$_info.uid}.</td>
            <td>{$_info.nickname}</td>
            <td>
                <a type="button" class="btn" href="/admin/users/{$_info.uid}/role">角色管理</a>
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
</div>
{/block}
